package com.gym.openapi.entity;

import lombok.ToString;

import java.io.Serializable;
@ToString
public class Role implements Serializable {
    private Integer id;

    private String name;

    private String remark;

    private Integer status;

    private static final long serialVersionUID = 1L;


    public Role(Integer id, Integer status) {
        this.id = id;
        this.status = status;
    }
    public Role(Integer id, String name, String remark, Integer status) {
        this.id = id;
        this.name = name;
        this.remark = remark;
        this.status = status;
    }

    public Role() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}